package JieKou;

/**
 * 全能运动员
 */
public class AlmightyAthlete extends Athlete implements Dive,Shoot,Sprint{
    public AlmightyAthlete(){
    }
    public AlmightyAthlete(String name,int age){
        super(name,age);
    }
    @Override
    public void dive() {
        System.out.println(this.getName()+"擅长跳水");

    }

    @Override
    public void shoot() {
        System.out.println(this.getName()+"擅长射击");

    }

    @Override
    public void sprint() {
        System.out.println(this.getName()+"擅长短跑");

    }
}
